<template>
  <el-select v-model="value" filterable clearable placeholder="请选择" multiple @change="jChange" @clear="clearJchange">
    <el-option
      v-for="item in grade"
      :key="item.value"
      :label="item.label"
      :value="item.value">
    </el-option>
  </el-select>
</template>

<script>
export default {
  props: {
    grade: {
      type: Array,
      default: null
    }
  },
  data() {
    return {
      value: '',
      selectedArr: [],
    }
  },
  methods: {
    jChange(Val){
      this.$emit('jChange',Val)
    },
    clearJchange() {
      this.$emit('clearJchange')
    }
  }
}
</script>

<style scoped>
.el-select{
  width: 200px;
}
</style>
